package cn.stylefeng.guns.sys.modular.system.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.sys.modular.system.entity.BtyHyk;
import cn.stylefeng.guns.sys.modular.system.model.params.BtyHykParam;
import cn.stylefeng.guns.sys.modular.system.model.result.BtyHykResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuy
 * @since 2021-05-07
 */
public interface BtyHykService extends IService<BtyHyk> {

    /**
     * 新增
     *
     * @author liuy
     * @Date 2021-05-07
     */
    void add(BtyHykParam param);

    /**
     * 删除
     *
     * @author liuy
     * @Date 2021-05-07
     */
    void delete(BtyHykParam param);

    /**
     * 更新
     *
     * @author liuy
     * @Date 2021-05-07
     */
    void update(BtyHykParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author liuy
     * @Date 2021-05-07
     */
    BtyHykResult findBySpec(BtyHykParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author liuy
     * @Date 2021-05-07
     */
    List<BtyHykResult> findListBySpec(BtyHykParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author liuy
     * @Date 2021-05-07
     */
     LayuiPageInfo findPageBySpec(BtyHykParam param);

    List<BtyHykResult>listMdxfbj(BtyHykParam param);

    List<BtyHykResult>listMdByDm(BtyHykParam param);

    BigDecimal hyksj(BtyHykParam paramCondition);

}
